package com.sxg.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.sxg.entity.SxgGoodsDetailEntity;
import com.sxg.page.PageResult;
import com.sxg.query.SxgGoodsDetailQuery;
import com.sxg.utils.code.AjaxResult;
import com.sxg.vo.SxgGoodsDetailVO;

import java.util.List;

/**
 * 商品详情信息
 *
 * @author 浪漫写尽歌谱 3298751420@qq.com
 * @since 1.0.0 2024-03-07
 */
public interface SxgGoodsDetailService extends IService<SxgGoodsDetailEntity> {

    PageResult<SxgGoodsDetailVO> page(SxgGoodsDetailQuery query);

    void save(SxgGoodsDetailVO vo);

    void update(SxgGoodsDetailVO vo);

    void delete(List<Long> idList);

    SxgGoodsDetailEntity getByGoodsId(Long id);

    AjaxResult getDetailByGoodsId(Long id);
}